package com.houtai.bean.dto.avtivity.works;

import com.houtai.base.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
@ApiModel(value="作品列表所需参数", description="作品列表所需参数")
public class TdActivityWorksListDto extends Page {

    @NotNull(message = "活动id不能为null")
    @ApiModelProperty(value="活动id(单独作品时活动id传0)", name="activity_id")
    private int activity_id;

    @NotNull(message = "类型id不能为null")
    @ApiModelProperty(value="类型id 只有活动id传0时有效", name="works_type")
    private int works_type;

    @NotNull(message = "作品名称不能为空")
    @ApiModelProperty(value="作品名称 可为空字符串", name="works_name")
    private String works_name;

    public int getActivity_id() {
        return activity_id;
    }

    public void setActivity_id(int activity_id) {
        this.activity_id = activity_id;
    }

    public int getWorks_type() {
        return works_type;
    }

    public void setWorks_type(int works_type) {
        this.works_type = works_type;
    }

    public String getWorks_name() {
        return works_name;
    }

    public void setWorks_name(String works_name) {
        this.works_name = works_name;
    }
}
